package com.murray.assignment.pojo;

/**
 * @author Murray
 * @Date 2021/8/11
 * @Time 3:58
 * @Description attr_name表和attr_value表的组合对象
 */
public class AttrNameAndAttrValue {

    /**
     * 商品名id
     */
    private Integer attrNameId;
    /**
     * 商品名
     */
    private String attrName;
    /**
     * 商品值id
     */
    private Integer attrValueId;
    /**
     * 商品值
     */
    private String attrValue;

    public AttrNameAndAttrValue() {
    }

    public AttrNameAndAttrValue(Integer attrNameId, String attrName, Integer attrValueId, String attrValue) {
        this.attrNameId = attrNameId;
        this.attrName = attrName;
        this.attrValueId = attrValueId;
        this.attrValue = attrValue;
    }

    @Override
    public String toString() {
        return "AttrNameAndAttrValue{" +
                "attrNameId=" + attrNameId +
                ", attrName='" + attrName + '\'' +
                ", attrValueId=" + attrValueId +
                ", attrValue='" + attrValue + '\'' +
                '}';
    }

    public Integer getAttrNameId() {
        return attrNameId;
    }

    public void setAttrNameId(Integer attrNameId) {
        this.attrNameId = attrNameId;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public Integer getAttrValueId() {
        return attrValueId;
    }

    public void setAttrValueId(Integer attrValueId) {
        this.attrValueId = attrValueId;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }
}
